﻿
namespace Microsoft.FamilyShowLib
{
    public partial class App2                                        : Fozzy.Concept<People>
    {
        #region Declarations
            private const string            ApplicationFolderName   = "Family.Show"                                             ;
            private const string            AppDataFolderName       = "CurrentFamily"                                           ;
       #endregion

        #region States
            public override bool            To_Create               { get { return true                                         ; } }
       #endregion

        #region Properties
            public override Fozzy.Directory Directory               { get { return new Fozzy.Directory(Folder, ApplicationFolderName, To_Create); } }
            private Fozzy.Directory         Folder                  { get { return new Fozzy.Directory(base.Directory, AppDataFolderName)       ; } }
       #endregion

        #region Constructeur
            public App2()                                            
            { }
        #endregion

        // Absolute path to the application folder
        //string appLocation = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), App.ApplicationFolderName);

        //// Create the directory if it doesn't exist
        //if (!Directory.Exists(appLocation)) Directory.CreateDirectory(appLocation);

        //return Path.Combine(appLocation, Const.DataFileName);

    }
}
